package com.attendance.chdingtask.dao;

import com.attendance.chdingtask.model.MdDevice;

import java.util.List;

public interface MdDeviceDao extends BaseJPA<MdDevice>{

    MdDevice findMdDeviceByDeviceSn(String deviceSn);

    List<MdDevice>  findAllByAreaIdAndCorpId(Long areaId,String corpId);

    List<MdDevice> findAllByAreaId(Long areaId);
}
